package com.bigzero.workflow.modules.system.constants;

/**
 * 用户权限缓存常量类
 *
 * @author fanxinxiong
 * @since 2025-02-14
 */
public class UserPermCacheConstant {

    /**token信息(过期时间,单位:秒)*/
    public static final String TOKEN_INFO_CACHE_EXPIRE = "workflow:token:info#600";

    /**用户权限信息key*/
    public static final String SYS_USER_PERM_INFO_CACHE_KEY = "workflow:sys:user:perm:info:";
    /**用户权限信息(过期时间,单位:秒)*/
    public static final String SYS_USER_PERM_INFO_CACHE_EXPIRE = "workflow:sys:user:perm:info#3600";
    /**用户权限标识集合key*/
    public static final String SYS_USER_PERMS_LIST_CACHE_KEY = "workflow:sys:user:perms:list:";
    /**用户权限标识集合(过期时间,单位:秒)*/
    public static final String SYS_USER_PERMS_LIST_CACHE_EXPIRE = "workflow:sys:user:perms:list#3600";
}
